package com.xlh.param.course;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 模板信息
 * <p>
 * Created by lx on 2020/11/16.
 */
@Data
public class TemplateInfoParam {

    private Long id;

    @NotBlank(message = "请输入模板名称")
    @Length(max = 10, message = "模板名称不能超过10个字符")
    private String name;

    @Length(max = 200, message = "模板内容不能超过200个字符")
    private String content;

    private boolean selected;

}
